import { Pages } from "./pages/Pages"
import { router } from "./pages/routerVisitor"

export function toClearCache(max: number = 5) {
    const ctx = router.visit(Pages.storageSpace, max)
    ctx.call('clearCache')
    return ctx;
}
